Skip to content

Conversation

@michaelneale
Copy link
Collaborator

image

Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR adds a CLI command for launching the Staged application directly from the terminal, enabling users to quickly open repositories without navigating through the GUI. The feature includes both an installation mechanism through the application menu and automatic installation via the install script.

Changes:

  • Added bin/staged CLI launcher script that finds and launches the app with a specified directory
  • Implemented backend support for CLI argument parsing and privilege-escalated CLI installation
  • Integrated CLI installation into the application menu with user feedback dialogs

Reviewed changes

Copilot reviewed 6 out of 8 changed files in this pull request and generated 10 comments.

Show a summary per file
File Description
bin/staged New bash script that resolves paths and launches the Staged.app bundle with directory arguments
src-tauri/src/lib.rs Added get_initial_path and install_cli commands; updated menu system to include CLI installation option
src/lib/services/window.ts Added TypeScript wrappers for the new CLI-related Tauri commands
src/lib/stores/repoState.svelte.ts Modified initialization to check for CLI arguments before falling back to current directory
src/App.svelte Added menu event handler and UI feedback for CLI installation feature
install.sh Added install_cli function to automatically install the CLI during setup
README.md Updated documentation with CLI usage examples and installation notes
.gitignore Added entries for development artifacts (unrelated to main feature)

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@michaelneale michaelneale merged commit 0ed0755 into main Jan 29, 2026
1 check passed
@michaelneale michaelneale deleted the micn/cli branch January 29, 2026 01:25
michaelneale added a commit that referenced this pull request Jan 29, 2026
* main:
  show an explanation of how things were as well as the change (#28)
  feat: install a CLI for instant terminal launch in a repo dir (#38)
  Rename reviews.db to staged.db with auto-migration (#39)
  Add lefthook for pre-push checks (#37)
  Replace goose CLI with ACP (Agent Client Protocol) (#36)
  Add window state persistence and macOS app menu (#32)
  Fix horizontal scrollbar in sidebar (#35)
  Add GitHub Actions CI workflow for PRs (#33)
  Tiered strategy for changeset sizes (#29)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants